#include "Ladder.h"
#include "RockFall.h"

void Ladder::update(float frameTime)
{
	position = worldPosition - LevelManager::getCurrentLevel()->getOffset();
}

void Ladder::draw(ID3DXSprite* sprite)
{
	if (alive)
		sprite->Draw(texture, 0, 0, &position, D3DCOLOR_XRGB(255, 255, 255));
}